package org.example.ymcc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.ymcc.domain.KillActivity;
import org.example.ymcc.mapper.KillActivityMapper;
import org.example.ymcc.service.IKillActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.Action;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zcj
 * @since 2024-06-24
 */
@Service
public class KillActivityServiceImpl extends ServiceImpl<KillActivityMapper, KillActivity> implements IKillActivityService {
    @Autowired
    private KillActivityMapper killActivityMapper;

    @Override
    public boolean save(KillActivity entity) {
        //获取开始时间
        //获取结束时间
        //弄成字符串拼接
        entity.setTimeStr("");


        return super.save(entity);
    }
}
